﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace AbpToDomain.EntityInfo
{
    //入库工单
    public class PutInOrder:Entity
    {
        [Key]
        public Guid PutInOrder_id {  get; set; }

        public string? Symbol { get; set; }
        [Comment("物料编号")]
        public string MaterialCode{ get; set; }
        public string? Batch { get; set; }
        public string? Consumer_MaterialId { get; set; }
        public int Quantity { get; set; }
        public DateTime? PutInDate { get; set; }
        public string? State {  get; set; }
        public string? MaterilaryName { get; set; }
        public DateTime CreateTime { get; set; }
        public DateTime? UpdateTime { get; set; }

        public bool IsFinish { get; set; }

        public override object[] GetKeys()
        {
            return new object[] { PutInOrder_id };
        }
    }
   
}
